package com.platform.enums;

/**
 * Description: 数据状态
 *
 * @author zyk
 */
public enum Status {

    /**
     * 启用
     */
    ENABLE("1","启用"),

    /**
     * 禁用
     */
    DISABLE("0","禁用"),

    /**
     *  删除
     */
    DELETE("2","删除");

    private String code;

    private String desc;


    Status(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }}
